package com.yidu.ToHtmlController;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 任俊杰
 * @version 1.0
 * @date 2022/12/4
 */
@Controller
public class ToHtmlController {
    /**
     * 跳登录界面
     *
     * @return login 登录界面
     */
    @RequestMapping("toLogin")
    public String toLogin() {
        return "login";
    }


    /**
     * 跳主界面
     *
     * @return index 主界面
     */
    @RequestMapping("toIndex")
    public String toIndex() {
        return "index";
    }


    /**
     * 跳行情数据
     *
     * @return marketData 行情数据界面
     */
    @RequestMapping("toMarketData")
    public String toMarketData() {
        return "marketData";
    }


    /**
     * 跳转基金
     *
     * @return marketData 行情数据界面
     */
    @RequestMapping("toFound")
    public String toFound() {
        return "fund";
    }

    /**
     * 跳转证券应收应付库存
     *
     * @return
     */

    @RequestMapping("test")
    public String test() {
        return "securityAccrualStock";
    }

    /**
     * 跳现金账户
     *
     * @return index 基金界面
     */
    @RequestMapping("toCash")
    public String toCash() {
        return "Cash";
    }


    /**
     * 交易品种费率
     *
     * @return
     */
    @RequestMapping("selectExchangeRate1")
    public String selectExchangeRate1() {
        return "exchangRate";
    }

    /**
     * 债券信息设置
     */
    @RequestMapping("selectBond1")
    public String selectBond1() {
        return "bond";
    }


    /**
     * 证券库存
     */
    @RequestMapping("securityStock1")
    public String securityStock1() {
        return "securityStock";
    }

    /**
     * 现金库存
     */
    @RequestMapping("cashStocks1")
    public String cashStocks1() {
        return "cashStocks";
    }


    /**
     * 跳证券信息
     *
     * @return
     */
    @RequestMapping("/toSecurity")
    public String toSecurity() {
        return "Security";
    }

    /**
     * 跳转券商设置界面
     */
    @RequestMapping("/broker1")
    public String broker1(){
        return "broker";
    }

    /**
     * 跳转交易席位界面
     */
    @RequestMapping("dealSeat1")
    public String dealSeat1(){
        return "dealSeat";
    }


    /**
     * 股票板块设置
     * @return
     */
    @RequestMapping("/toPlate")
    public String toPlate(){return "Plate";}

    /**
     * 库存统计
     * @return
     */
    @RequestMapping("/toInventoryStatistics")
    public String toInventoryStatistics(){
        return "InventoryStatistics";
    }


    /**
     * 跳用户
     *
     * @return
     */
    @RequestMapping("/toUser")
    public String toUser() {
        return "user";
    }

    /**
     * 跳角色
     * @return
     */
    @RequestMapping("/toUserRole")
    public String toUserRole(){
        return "userRole";
    }

    /**
     * 跳权限功能
     * @return
     */
    @RequestMapping("toMenu")
    public String toMenu(){
        return "menu";
    }


    /**
     * 跳转现金应收应付库存
     *
     * @return
     */
    @RequestMapping("/toCashAccrualStock")
    public String toCashAccrualStock() {
        return "cashAccrualStock";
    }

    /**
     * 跳转资金调拨
     *
     * @return
     */
    @RequestMapping("/toFundsAllot")
    public String toFundsAllot() {
        return "fundsAllot";
    }

    /**
     * 跳ta交易数据
     * @return
     */
    @RequestMapping("/toTa")
    public String toTa() {
        return "taManagement";
    }

    /**
     * 跳成交清算轧差表
     * @return
     */
    @RequestMapping("/chengjiaoQingSuann")
    public String chengjiaoQingSuann(){
        return "ChengjiaoQingSuan";
    }
    /**
     * 跳ta交易结算
     * @return
     */
    @RequestMapping("/toTaSet")
    public String toTaSet() {
        return "taSettlement";
    }
    /**
     * 跳TA库存
     * @return
     */
    @RequestMapping("taStock")
    public String taStock(){
        return "taStock";
    }

    /**
     * 跳现金应收应付
     * @return
     */
    @RequestMapping("toCashAccrued")
    public String toCashAccrued(){
        return "CashAccrued";
    }

    /**
     * 跳现证券收应付
     * @return
     */
    @RequestMapping("toSecurityAccrued")
    public String toSecurityAccrued(){return "SecurityAccrued";}

    /**
     * 收益计提
     * @return
     */
    @RequestMapping("toRevenueProvision")
    public String toRevenueProvision(){
        return "provisionOfIncome";
    }
    /**
     * 跳收益支付
     * @return
     */
    @RequestMapping("syzf")
    public String syzf(){
        return "syzf";
    }
    /**
     * 跳交易数据
     * @return
     */
    @RequestMapping("/toDealDate")
    public String toDealDate(){
        return "dealDate";
    }

    /**
     * 跳日志信息
     * @return
     */
    @RequestMapping("toSysLog")
    public String toSysLog(){
        return "log";
    }

    /**
     * 跳净值统计
     * @return
     */
    @RequestMapping("/toNetWorth")
    public String toNetWorth(){
        return "netWorth";
    }

    /**
     * 跳转资产估算
     * @return
     */
    @RequestMapping("/toAssetValuation")
    public String toAssetValuation(){
        return "assetValuation";
    }

    /**
     * 跳基金投资板块表
     * @return
     */
    @RequestMapping("toFundPortfolioTable")
    public String toFundPortfolioTable(){
        return "fundPortfolioTable";
    }


    /**
     * 跳交易结算
     * @return
     */
    @RequestMapping("totoSettleMent")
    public String totoSettleMent(){
        return "settlement";
    }

}
